package com.un.ebs.customer.domain;

import java.util.Date;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.*;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.stereotype.Component;
import lombok.Data;
import com.un.ebs.core.metadata.DbField;

/**
 * (DefunctExt)表实体类
 *
 * @author liubo
 * @since 2021-01-12 19:34:59
 */
@Data
@Component
@TableName("v_defunct_ext")
@SuppressWarnings("serial")
public class DefunctExt extends Model<DefunctExt> {

                
    @DbField(name = "id",  length = 40 , precision = 0)
    private String id;
                
    @DbField(name = "name",  length = 100 , precision = 0)
    private String name;
                
    @DbField(name = "sex",  length = -1 , precision = 0)
    private Integer sex;
                
    @DbField(name = "birthday",  length = -1 , precision = 0)
    private Date birthday;
                
    @DbField(name = "defunct_date",  length = -1 , precision = 0)
    private Date defunctDate;
                
    @DbField(name = "notify_day",  length = -1 , precision = 0)
    private Date notifyDay;
                
    @DbField(name = "birthday_notify",  length = -1 , precision = 0)
    private Date birthdayNotify;
                
    @DbField(name = "defunct_date_notify",  length = -1 , precision = 0)
    private Date defunctDateNotify;
                
    @DbField(name = "birthday_notify_status",  length = -1 , precision = 0)
    private Integer birthdayNotifyStatus;
                
    @DbField(name = "defunct_date_notify_status",  length = -1 , precision = 0)
    private Integer defunctDateNotifyStatus;
                
    @DbField(name = "id_number",  length = 20 , precision = 0)
    private String idNumber;
                
    @DbField(name = "area_id",  length = 40 , precision = 0)
    private String areaId;
                
    @DbField(name = "address",  length = 200 , precision = 0)
    private String address;
                
    @DbField(name = "defunct_type_dict",  length = 200 , precision = 0)
    private String defunctTypeDict;
                
    @DbField(name = "defunct_add_dict",  length = 100 , precision = 0)
    private String defunctAddDict;
                
    @DbField(name = "defunct_id_number",  length = 50 , precision = 0)
    private String defunctIdNumber;
            
    @TableLogic        
    @DbField(name = "is_delete",  length = -1 , precision = 0)
    private Boolean isDelete;
        
    @TableField(fill = FieldFill.INSERT)            
    @DbField(name = "create_time",  length = -1 , precision = 0)
    private Date createTime;
        
    @TableField(fill = FieldFill.INSERT)            
    @DbField(name = "create_at",  length = 40 , precision = 0)
    private String createAt;
                
    @TableField(fill = FieldFill.UPDATE)    
    @DbField(name = "last_modified_time",  length = -1 , precision = 0)
    private Date lastModifiedTime;
                
    @TableField(fill = FieldFill.UPDATE)    
    @DbField(name = "last_modified_at",  length = 40 , precision = 0)
    private String lastModifiedAt;
                
    @DbField(name = "tenant_id",  length = 40 , precision = 0)
    private String tenantId;
                
    @DbField(name = "code",  length = 100 , precision = 0)
    private String code;
                
    @DbField(name = "tomb_sku_id",  length = 40 , precision = 0)
    private String tombSkuId;
                
    @DbField(name = "tomb_bury_time",  length = -1 , precision = 0)
    private Date tombBuryTime;
                
    @DbField(name = "sku_code",  length = 100 , precision = 0)
    private String skuCode;
                
    @DbField(name = "tomb_sku_name_as",  length = 2100 , precision = 0)
    private String tombSkuNameAs;
                
    @DbField(name = "tomb_sku_name",  length = 100 , precision = 0)
    private String tombSkuName;
                
    @DbField(name = "sale_attr_desc",  length = 2000 , precision = 0)
    private String saleAttrDesc;
                
    @DbField(name = "class_id",  length = 40 , precision = 0)
    private String classId;
                
    @DbField(name = "class_name",  length = 2000 , precision = 0)
    private String className;
                
    @DbField(name = "class_root_name",  length = 2000 , precision = 0)
    private String classRootName;
                
    @DbField(name = "logo_image",  length = 200 , precision = 0)
    private String logoImage;
                
    @DbField(name = "is_bury",  length = -1 , precision = 0)
    private Boolean isBury;


}